//
//  BiPurchaseCarInfoView.m
//  TrunkIndustryManageSystem
//
//  Created by WT_lyy on 15/4/28.
//  Copyright (c) 2015年 李璐西. All rights reserved.
//

#import "BiPurchaseCarInfoView.h"
#import "BiPurChaseCarInfoEntity.h"
@interface BiPurchaseCarInfoView()
@property (weak, nonatomic) IBOutlet UILabel *labBrand;
@property (weak, nonatomic) IBOutlet UILabel *labCarcolor;
@property (weak, nonatomic) IBOutlet UILabel *labCarseries;
@property (weak, nonatomic) IBOutlet UILabel *labrearAxleRatio;
@property (weak, nonatomic) IBOutlet UILabel *labrearAxle;
@property (weak, nonatomic) IBOutlet UILabel *labCabtype;
@property (weak, nonatomic) IBOutlet UILabel *labCabmode;
@property (weak, nonatomic) IBOutlet UILabel *labCardrive;
@property (weak, nonatomic) IBOutlet UILabel *labZhouju;
@property (weak, nonatomic) IBOutlet UILabel *labNotice;
@property (weak, nonatomic) IBOutlet UILabel *labgearBoxMode;
@property (weak, nonatomic) IBOutlet UILabel *labengineMode;
@property (weak, nonatomic) IBOutlet UILabel *laborderNumber;

@end
@implementation BiPurchaseCarInfoView

- (void)setCarInfo:(BiPurChaseCarInfoEntity *)carInfo withOrderNum:(NSString *)orderNum{

    self.laborderNumber.text = orderNum;
    
    self.labBrand.text = carInfo.brand;
    
    self.labCarcolor.text = carInfo.carColor;
    
    self.labCarseries.text = carInfo.carSeries;
    
    self.labrearAxleRatio.text = carInfo.rearAxleRatio;
    
    self.labrearAxle.text = carInfo.rearAxle;
    
    self.labCabtype.text = carInfo.cabType;
    
    self.labCabmode.text = carInfo.cabModel;
    
    self.labCardrive.text = carInfo.carDrive;
    
    self.labZhouju.text = carInfo.wheelBase;
    
    self.labNotice.text = carInfo.announcementModel;
    
    self.labgearBoxMode.text = carInfo.gearBoxModel;
    
    self.labengineMode.text = carInfo.engineModel;
}

@end
